package com.entity;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the SALECLUE database table.
 * 
 */
@Entity
@NamedQuery(name="Saleclue.findAll", query="SELECT s FROM Saleclue s")
public class Saleclue implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(name="SALECLUE_CLUENO_GENERATOR", sequenceName="SEQ",initialValue=1,allocationSize=1)
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="SALECLUE_CLUENO_GENERATOR")
	private Long clueno;

	private String content;

	private BigDecimal formid;

	private BigDecimal logid;

	private BigDecimal status;

	@Temporal(TemporalType.DATE)
	private Date subtime;

	private BigDecimal userid;

	//bi-directional many-to-one association to Cluetype
	@ManyToOne
	@JoinColumn(name="CTYPENO")
	private Cluetype cluetype;

	public Saleclue() {
	}

	public Long getClueno() {
		return this.clueno;
	}

	public void setClueno(Long clueno) {
		this.clueno = clueno;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public BigDecimal getFormid() {
		return this.formid;
	}

	public void setFormid(BigDecimal formid) {
		this.formid = formid;
	}

	public BigDecimal getLogid() {
		return this.logid;
	}

	public void setLogid(BigDecimal logid) {
		this.logid = logid;
	}

	public BigDecimal getStatus() {
		return this.status;
	}

	public void setStatus(BigDecimal status) {
		this.status = status;
	}

	public Date getSubtime() {
		return this.subtime;
	}

	public void setSubtime(Date subtime) {
		this.subtime = subtime;
	}

	public BigDecimal getUserid() {
		return this.userid;
	}

	public void setUserid(BigDecimal userid) {
		this.userid = userid;
	}

	public Cluetype getCluetype() {
		return this.cluetype;
	}

	public void setCluetype(Cluetype cluetype) {
		this.cluetype = cluetype;
	}

}